package com.yejiarong.common.exception;

import lombok.Getter;

/**
 * @author YeJR
 */
@Getter
public class GlobalException extends RuntimeException {

    private final int code;

    public GlobalException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
